package com.sendi.system.socket;

import javax.sql.DataSource;

import com.sendi.system.bean.ApplicationContextHelper;
import com.sendi.system.bean.PushHelper;
import com.sendi.system.bean.SysLogHelper;
import com.sendi.system.service.ServiceSupportImp;

/*
 * 外部socket接口处理基类，主要应用于perl向java应用传送信息时使用，避免使用wget
 */
public abstract  class SocketI {
   public ApplicationContextHelper applicationContextHelper;
	  
    public PushHelper pushHelper;
    /*
     * 系统日志记录接口
     */
    public SysLogHelper sysLogHelper;
    public ServiceSupportImp serviceSupportImp;
    public DataSource dataSource;
	public abstract void doAction(String msg);

	public PushHelper getPushHelper() {
		return pushHelper;
	}

	public void setPushHelper(PushHelper pushHelper) {
		this.pushHelper = pushHelper;
	}

	public SysLogHelper getSysLogHelper() {
		return sysLogHelper;
	}

	public void setSysLogHelper(SysLogHelper sysLogHelper) {
		this.sysLogHelper = sysLogHelper;
	}

	public ServiceSupportImp getServiceSupportImp() {
		return serviceSupportImp;
	}

	public void setServiceSupportImp(ServiceSupportImp serviceSupportImp) {
		this.serviceSupportImp = serviceSupportImp;
	}

	public ApplicationContextHelper getApplicationContextHelper() {
		return applicationContextHelper;
	}

	public void setApplicationContextHelper(
			ApplicationContextHelper applicationContextHelper) {
		this.applicationContextHelper = applicationContextHelper;
	}

	public DataSource getDataSource() {
		return dataSource;
	}

	public void setDataSource(DataSource dataSource) {
		this.dataSource = dataSource;
	}

}
